package com.jiaotong.smart.smartjiaotong.service.subregionconfigservice;

import com.jiaotong.smart.smartjiaotong.entity.subregionconfig.Cross;
import com.jiaotong.smart.smartjiaotong.entity.subregionconfig.SubSearch;
import com.jiaotong.smart.smartjiaotong.entity.subregionconfig.Subregion;

import java.util.List;

/**
 * @Author 文帅
 * 子区配置中所需service方法
 */

public interface SubRegionservice {
    List<String> getsearchrecords();
    List<Subregion> getallsubregion();
    List<Subregion> getallsubregionbyregionid(int regionid);

    long[] getnumber();

    List<Subregion> getsubregionbyname(String name);

    int addsearchrecord(String name);
    int addsubregion(Subregion subregion, List<Cross> crosses);

}
